package cn.cloudreal.cbms.statements.service.impl;

import java.util.List;
import java.util.Map;

import cn.cloudreal.cbms.common.util.PageBean;
import cn.cloudreal.cbms.statements.dao.ResourceStateDao;
import cn.cloudreal.cbms.statements.service.ResourceStateService;
import cn.cloudreal.cbms.vo.ResourceState;

public class ResourceStateServiceImpl implements ResourceStateService{
	ResourceStateDao resourceStateDao;
	
	
	public List<ResourceState> getResourceStateList(Map condition,
			PageBean page) {
		// TODO Auto-generated method stub
		return resourceStateDao.getResourceStateList(condition,page);
	}
	
	public int getResourceStateCount(Map condition) {
		// TODO Auto-generated method stub
		return resourceStateDao.getResourceStateCount(condition);
	}

	
	
	/**
	 * get And set action
	 */
	public ResourceStateDao getResourceStateDao() {
		return resourceStateDao;
	}

	public void setResourceStateDao(ResourceStateDao resourceStateDao) {
		this.resourceStateDao = resourceStateDao;
	}

}
